<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/4/4
  Time: 9:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>new </title>
</head>
<body>
<span style="color: red; font-weight: bold">
    <%
        if(request.getAttribute("err")!=null)
          {
              out.println(request.getAttribute("err")+"<br/>");
          }
    %>
</span>
<form id="login" method="post" action="login">
    用户名：<input type="text" name="username"/><br/>
    密&nbsp;&nbsp;码：<input type="password" name="pass"/><br/>
    <input type="submit"  value="登录"/>
</form>
</body>
</html>
